# -*- coding:utf-8 -*-
from collections import deque
# 队列

quene = deque([1,2,3])
quene.append(4)
print(quene) # deque([1, 2, 3, 4])
print(quene.popleft()) # 1
print(quene) # deque([2, 3, 4])


